This folder contains the replication datasets and codes for "Increasing Intergovernmental Coordination to Fight Crime: Evidence from Mexico" 
by Marco Alcocer. The manuscript has been accepted for publication in Political Science Research and Methods.

Please cite this paper when using the data.

The replication packet encompasses two data files and one R script, which allows the replication of 
all tables and figures in the main article and the online supplemental materials.

The files are as follows:

1. PSRM_Replication_Code.R: This file is the R script that replicates all results. This script creates all tables and figures (except maps) in the main paper and the online supplemental materials.

2. psrm_crime_data.RData: This dataset contains all data and variables used to estimate the effect of the police reform on crime and homicides. 

3. psrm_cartel_data.RData: This dataset contains all data and variables used to estimate the effect of the police reform on cartel presence.

4. gto_mu.shp: This dataset includes the geographic locations of the police reform needed to create Figure A1. 


For inquiries regarding the dataset, please contact Marco Alcocer.


Additional information about the computer that successfully ran the script:

- RAM: 16 GB
- Operating System: Windows 10
- R Version: 4.3.2
- R Packages and Versions Used: tidylog_1.0.2 logr_1.3.5 ggpubr_0.6.0 psych_2.4.1 panelView_1.1.17 gsynth_1.2.1 stringi_1.8.3 readxl_1.4.3 sandwich_3.1-0 lmtest_0.9-40 zoo_1.8-12 MASS_7.3-60 fixest_0.11.2 cowplot_1.1.3 modelsummary_1.4.3 stargazer_5.2.3 ggplot2_3.4.4 rdrobust_2.2 stringr_1.5.1 dplyr_1.1.4 readr_2.1.5
